<!-- app/View/Users/register.ctp -->
<div>
<?php
echo $this->Form->create('User');
echo '<h1> Registrierung </h1>'; 
echo $this->Form->input('username', array('label' => 'Benutzername'));
echo $this->Form->input('password', array('label' => 'Passwort', 'type' => 'password'));
echo $this->Form->input('repass', array('label' => 'Passwort wiederholen', 'type' => 'password'));
echo $this->Form->input('email', array('label' => 'E-mail'));
echo $this->Form->input('gender', array('options' => array('male' => 'Männlich', 'female' => 'Weiblich'), 'label' => 'Geschlecht'));
echo $this->Form->input('birth', array('monthNames' => false, 'empty'=>true, 'label' => 'Geburtsdatum', 'dateFormat' => 'DMY', 'minYear' => date('Y') - 60, 'maxYear' => date('Y') - 5));
 /* echo $this->Form->input('role', array(
            'options' => array('admin' => 'Admin', 'standard' => 'Standard')
        ));*/
echo $this->Form->end(__('Submit'));
?>
</div>